package org.gensokyo.shanbay.dao

import java.time.LocalDate

import slick.driver.MySQLDriver.api._

class UserInfo(tag: Tag) extends Table[(Int, String, String, Int, LocalDate)](tag, "USER_INFO") {
  def id = column[Int]("id", O.PrimaryKey, O.AutoInc)

  def userName = column[String]("user_name")

  def password = column[String]("password")

  def days = column[Int]("days")

  def lastClockDate = column[LocalDate]("last_clock_date")

  def * = (id, userName, password, days, lastClockDate)
}
